package com.credithc.signature.manager.client;

import com.credithc.baseserv.core.message.Message;
import com.credithc.signature.manager.ro.CompanyRo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


import java.util.List;

@FeignClient(name = "saas-server", serviceId = "saas-server")
//@FeignClient(name = "saas-server", serviceId = "saas-server",url = "10.150.26.183")
//@FeignClient(name = "saas-server", serviceId = "saas-server",url= "10.150.30.54")
public interface CompanyClient {
    @GetMapping("/api/saas/v1/cacheData")
    Message<List<CompanyRo>> getCacheData();
}
